package com.zcgame.floatview

import android.text.TextUtils
import android.util.Log

/**
 *@author:huangLJ
 *@date:2021/6/2 16:39
 */
var debugMode = true
fun printDebug(log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.d("test",log)
    }
}
fun printDebug(TAG:String,log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.d(TAG,log)
    }
}
fun printError(TAG:String,log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.e(TAG,log)
    }
}
fun printError(log:String){
    if(debugMode&&!TextUtils.isEmpty(log)){
        Log.e("test",log)
    }
}